package mygw.jtthink.com.Controllers;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class Fallback {
    @GetMapping("/unauthorize")
    public Map<String,String> fallback() {
        return new HashMap<String, String>() {
            {
                put("result", "unauthorized");
            }
        };
    }
}
